﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SIS_Wcf_Server.Model
{
    public class Lokation
    {
        public string Type { get; set; }

        public string Value { get; set; }

        public override bool Equals(object obj)
        {
            if (obj is Lokation)
            {
                var src = (Lokation)obj;
                if (src.Type == this.Type)
                {
                    return (src.Value == this.Value);
                }
            }
            return false;
        }

    }
}